﻿using HomagGroup.Base.UI.Windows;
using System.Text.RegularExpressions;
using System.Windows.Input;

namespace HomagChina.CCHCS.Views
{
    /// <summary>
    /// BoardEditing.xaml 的交互逻辑
    /// </summary>
    public partial class BoardEditing : Dialog
    {
        public BoardEditing()
        {
            InitializeComponent();
        }
        private void RadWatermarkTextBox_PreviewTextInput(object sender, TextCompositionEventArgs e)
        {
            Regex regex = new Regex("^[a-zA-Z0-9!@#$%^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?]*$");
            e.Handled = !regex.IsMatch(e.Text);
        }

    }
}
